package com.xxdh.service;

import com.xxdh.domain.po.StudentWorkRelation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxdh.domain.vo.WorkTeacherVo;

import java.util.List;

/**
 * <p>
 * 学生作业关系表 服务类
 * </p>
 *
 * @author zwg
 * @since 2024-10-19
 */
public interface IStudentWorkRelationService extends IService<StudentWorkRelation> {

    void addStudentWorkRelationByStudentIdsAndWorkId(List<Long> studentIds, Long workId);

    List<Long> getNotCompletedWorkIdsByStudentId(Long studentId);

    void setWorkSumAndCompleteSum(WorkTeacherVo workTeacherVo);

    void updateWorkStatus(Long studentId, String workId, String fileAddress);

    void deleteStudentWorkRelationByWorkId(String workId);

    List<StudentWorkRelation> getCompleteStudentWorkRelationByWorkId(String workId);
}
